<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>新增方法</title>
    <th:block th:replace="/backstage/common_resources::common_css"></th:block>
    <th:block th:replace="/backstage/common_resources::common_js"></th:block>
</head>
<body class="hold-transition skin-purple sidebar-mini">
<header th:replace="~{/backstage/common_header::header}"></header>
<aside th:replace="~{/backstage/common_aside::aside}"></aside>
<div class="wrapper">
    <div class="content-wrapper">
        <!-- 内容头部 -->
        <section class="content-header">
            <h1>
                用户管理
                <small>新增算法</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="@{/backstage/index}"><i class="fa fa-dashboard"></i> 首页</a></li>
                <li><a href="@{/backstage/algorithm/all}"> 方法管理</a></li>
                <li class="active">新增方法</li>
            </ol>
        </section>
        <!-- 内容头部 /-->


        <!-- 正文区域 -->
        <section class="content">
            <form th:action="@{/backstage/algorithm/add}" method="post">
<!--                <input type="hidden" name="algorithmID" th:value="${param.algorithmID}">-->
<!--                <input type="hidden" name="algorithmID" value=algorithmID>-->
                <!-- 其他表单字段 -->
                <input type="submit" value="Submit">
                <div class="row data-type">
                    <div class="col-md-2 title">算法ID</div>
                    <div class="col-md-4 data">
                        <input type="text" class="form-control" placeholder="也即是基于跳转的页面的算法ID" name="algorithmID">
                    </div>
                    <div class="col-md-2 title">方法ID</div>
                    <div class="col-md-4 data">
                        <input type="text" class="form-control" placeholder="方法ID" name="methodID">
                    </div>
                    <div class="col-md-2 title">方法名称</div>
                    <div class="col-md-4 data">
                        <input type="text" class="form-control" placeholder="方法名称" name="methodName">
                    </div>
                    <div class="col-md-2 title">方法内容</div>
                    <div class="col-md-4 data">
                        <input type="text" class="form-control" placeholder="方法内容" name="content">
                    </div>
                    <div class="col-md-2 title"></div>
                    <div class="col-md-10 data text-center">
                        <button type="submit" class="btn bg-maroon">保存</button>
                        <button type="button" class="btn bg-default" onclick="history.back(-1);">返回</button>
                    </div>
                </div>
            </form>
        </section>
        <!-- 正文区域 /-->


    </div>
</div>
<footer th:replace="~{/backstage/common_footer::footer}"></footer>
</body>
</html>
